package cn.assumejson.springframework.beans.factory.support;

import cn.assumejson.springframework.beans.factory.config.BeanPostProcessor;

/**
 *
 * TODO 合并 BeanDefinition（包括父类的所有属性）的后置处理器
 *
 * @author Mr. Li
 * @version 1.0
 * @since 1.0 2021/12/3 10:43
 */
public interface MergedBeanDefinitionPostProcessor extends BeanPostProcessor {

    /**
     * Post-process the given merged bean definition for the specified bean.
     * @param beanDefinition the merged bean definition for the bean
     * @param beanType the actual type of the managed bean instance
     * @param beanName the name of the bean
     */
    void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName);
}
